#include <iostream>
#include <string>
#include <vector>

using namespace std;

class Component;

#ifndef NODE_H
#define NODE_H

class Node
{
public:
    int id;
    int numComponents;

    Node(int idx)
    {
        id = idx;
        numComponents = 0;
    }
    void add_component(Component* c)
    {
        components.push_back(c);
        numComponents++;
    }
    void set_id(int idx)
    {
        id = idx;
    }
    
private:
    vector<Component*> components;
};

#endif
